package com.tepth.vehiclemaintenance.config;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhangyu on 2017/3/22.
 */

public class WorkStatusCode {
    /**
     * 待维修
     */
    public static final String UNDER_PLAN = "UnderPlan";
    public static final String UNDER_PLAN_NAME = "待维修";
    /**
     * 已报修
     */
    public static final String FINISH_PLAN = "FinishPlan";
    public static final String FINISH_PLAN_NAME = "已报修";
    /**
     * 已进厂
     */
    public static final String READY_WORK = "ReadyWork";
    public static final String READY_WORK_NAME = "已进厂";
    /**
     * 维修中
     */
    public static final String UNDER_WORK = "UnderWork";
    public static final String UNDER_WORK_NAME = "维修中";
    /**
     * 未出厂
     */
    public static final String COMPLETE_WORK = "CompletedWork";
    public static final String COMPLETE_WORK_NAME = "未出厂";
    /**
     * 维修完成
     */
    public static final String FINISH_WORK = "FinishWork";

    public static final String FINISH_WORK_NAME = "已完成";


    public static Map<String, String> getNameMap() {
        Map<String, String> map = new HashMap<>();
        map.put(UNDER_PLAN, UNDER_PLAN_NAME);
        map.put(FINISH_PLAN, FINISH_PLAN_NAME);
        map.put(UNDER_WORK, UNDER_WORK_NAME);
        map.put(FINISH_WORK, FINISH_WORK_NAME);
        map.put(READY_WORK, READY_WORK_NAME);
        map.put(COMPLETE_WORK, COMPLETE_WORK_NAME);
        return map;
    }
}
